
$(function () {
    vm.query();

});


var vm = new Vue({
    el: '#rrapp',

    data: {
        aPBase:null,
        sysDeptEntity:null,
        aPOther:null,
        dDeviceOldList:[],
        myFive:['1','2','3','4','5'],
        aPCriteria1:null,
        aPCriteria2:null,
        aPCriteria3:null,
        tole:null,
        tole1:null,
        tole2:null,
        tole3:null,
        tole4:null,
        aPCostList:[],
        dDeviceBuyList:[],
        dMaterialBuyList:[]
     },
    methods: {
        query: function () {
                $.get(baseURL + "bss/apbase/getVdate?guid="+GetUrlParam("guid"), function (r) {
                vm.aPBase = r.aPBase;
                vm.sysDeptEntity=r.sysDeptEntity;
                vm.aPOther=r.aPOther;
                vm.dDeviceOldList=r.dDeviceOldList;
                 vm.aPCriteria1=r.aPCriteria1;
                 vm.aPCriteria2=r.aPCriteria2;
                  vm.aPCriteria3=r.aPCriteria3;
                    vm.tole=r.tole;
                    vm.tole1=r.tole1;
                    vm.tole2=r.tole2;
                    vm.tole3=r.tole3;
                    vm.tole4=r.tole4;
                    vm.aPCostList=r.aPCostList;
                    vm.dDeviceBuyList=r.dDeviceBuyList;
                    vm.dMaterialBuyList=r.dMaterialBuyList;

               });
        },
    }
});